OleDbConnection oleDbConnection = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Checkout-1\\Documents\\contact.accdb");
OleDbCommand oleDbCommand = new OleDbCommand();
oleDbCommand.Connection = oleDbConnection;
oleDbCommand.CommandText = "UPDATE FROM contactList WHERE id = ?";

oleDbCommand.Parameters.AddWithValue("@id", idTextBox.Text);
oleDbCommand.Parameters.AddWithValue("@fname", fnameTextBox.Text);
oleDbCommand.Parameters.AddWithValue("@lname", lnameTextBox.Text);

oleDbConnection.Open();
oleDbCommand.ExecuteNonQuery();
oleDbConnection.Close();

MessageBox.Show("Record updated!");






Why this code is updating all the rows in the database? Can't figure out. 

 //Update Customers
        private void button5_Click(object sender, EventArgs e)
        {
            string str2 = contactFirstNameTextBox.Text;
            string str3 = contactLastNameTextBox.Text;
            string str4 = billingAddressTextBox.Text;
            string str5 = phoneNumberTextBox.Text;
            string str6 = emailAddressTextBox.Text;
            string str7 = notesTextBox.Text;
           
            string str = "UPDATE Customers SET ContactFirstName = ?,ContactLastName = ?,BillingAddress =?,PhoneNumber = ?,EmailAddress = ? ,Notes = ?";
            using (OleDbConnection con = new OleDbConnection(scon))
            {
                using (OleDbCommand cmd = new OleDbCommand(str, con))
                {

                    cmd.CommandType = CommandType.Text;
                    cmd.Parameters.AddWithValue("ContactFirstName", str2);
                    cmd.Parameters.AddWithValue("ContactLastName", str3);
                    cmd.Parameters.AddWithValue("BillingAddress", str4);
                    cmd.Parameters.AddWithValue("PhoneNumber", str5);
                    cmd.Parameters.AddWithValue("EmailAddress", str6);
                    cmd.Parameters.AddWithValue("Notes", str7);


                    con.Open();
                    cmd.ExecuteNonQuery();
                }
            }
        }


